<%@ page language="java" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib uri="http://displaytag.sf.net" prefix="display"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<s:form method="post" action="showPendingAccounts" id="form" namespace="/admin" theme="simple">
		<s:actionerror cssClass="Note-red" />
	<table width="100%">
		<tr>
			<td height="40" class="sectionheading bottom-border">Account Details</td>
		</tr>
		<tr><td>&nbsp;</td></tr>
		<tr>
			<td>
				<table width="100%">
					<tr align="left">
						<td class="verdana12blacknormal"><b>Account:</b></td>
						<td class="verdana12blacknormal">
							<s:if test="%{accountDetailList.active} == 'false'}">
								Pending
							</s:if>
						</td>
					</tr>
					<tr>
						<td class="verdana12blacknormal"><b>Name:</b></td>
						<td class="verdana12blacknormal"><s:property value="accountDetailList.firstName" /></td>
					</tr>
					<tr>
						<td class="verdana12blacknormal"><b>Balance:</b></td>
						<td class="verdana12blacknormal">&nbsp;</td>
					<tr>
						<td class="verdana12blacknormal"><b>Deposits:</b></td>
						<td class="verdana12blacknormal">&nbsp;</td>
					</tr>
					<tr>
						<td class="verdana12blacknormal"><b>Email:</b></td>
						<td class="verdana12blacknormal"><s:property value="accountDetailList.email" /></td>
					</tr>
					<tr>
						<td class="verdana12blacknormal"><b>Address:</b></td>
						<td class="verdana12blacknormal"><s:property value="accountDetailList.street" />, <s:property value="accountDetailList.zip" />, <s:property value="accountDetailList.city" />, <s:property value="accountDetailList.state.categoryName" />, <s:property value="accountDetailList.country.categoryName" /></td>
					</tr>
					<tr>
						<td class="verdana12blacknormal"><b>Phone:</b></td>
						<td class="verdana12blacknormal"><s:property value="accountDetailList.phone" /></td>
					</tr>
					<tr>
						<td class="verdana12blacknormal"><b>Started:</b></td>
						<td class="verdana12blacknormal"><s:property value="accountDetailList.createdDate" /></td>
					</tr>
					<tr>
						<td class="verdana12blacknormal"><b>VAT Id No.:</b></td>
						<td class="verdana12blacknormal"><s:property value="accountDetailList.vatidnr1" /></td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td>
				<table>
					<tr>
						<td class="verdana12blacknormal">Status:</td>
						<td class="verdana12blacknormal"><s:checkbox name="status" value="accountDetailList.active" /></td>
						<td class="verdana12blacknormal">&nbsp;|&nbsp;</td>
						<td class="verdana12blacknormal">Sell:</td>
						<td class="verdana12blacknormal"><s:checkbox name="status" value="accountDetailList.active" /></td>
						<td class="verdana12blacknormal">&nbsp;|&nbsp;</td>
						<td class="verdana12blacknormal">Buy:</td>
						<td class="verdana12blacknormal"><s:checkbox name="status" value="accountDetailList.active" /></td>
						<td class="verdana12blacknormal">&nbsp;|&nbsp;</td>
						<td class="verdana12blacknormal">Partner:</td>
						<td class="verdana12blacknormal"><s:checkbox name="status" value="accountDetailList.active" /></td>
						<td class="verdana12blacknormal">&nbsp;|&nbsp;</td>
						<td class="verdana12blacknormal">Sponsor:</td>
						<td class="verdana12blacknormal"><s:checkbox name="status" value="accountDetailList.active" /></td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td>
				<table>
					<tr>
						<td class="verdana12blacknormal">Verified:</td>
						<td class="verdana12blacknormal"><s:checkbox name="status" value="accountDetailList.active" /></td>
						<td class="verdana12blacknormal">&nbsp;|&nbsp;</td>
						<td class="verdana12blacknormal">Verified+:</td>
						<td class="verdana12blacknormal"><s:checkbox name="status" value="accountDetailList.active" /></td>
						<td class="verdana12blacknormal">&nbsp;|&nbsp;</td>
						<td class="verdana12blacknormal">Verified++:</td>
						<td class="verdana12blacknormal"><s:checkbox name="status" value="accountDetailList.active" /></td>
						<td class="verdana12blacknormal">&nbsp;|&nbsp;</td>
						<td class="verdana12blacknormal">Power:</td>
						<td class="verdana12blacknormal"><s:checkbox name="status" value="accountDetailList.active" /></td>
					</tr>
				</table>
			</td>
		</tr>
		<tr><td>&nbsp;</td></tr>
		<tr>
			<td>
				<table width="100%">
				<tr>
					<td height="40" class="sectionheading bottom-border" colspan="2">Add Credit</td>
				</tr>
					<tr>
						<td class="verdana12blacknormal">Amount:</td>
						<td class="verdana12blacknormal"><s:textfield name="amount" /></td>
					</tr>
					<tr>
						<td class="verdana12blacknormal"><b>Reason:</td>
						<td class="verdana12blacknormal"><s:textfield name="amount" /></td>
					</tr>
					<tr><td class="verdana12blacknormal">&nbsp;</td></tr>
					<tr>
						<td height="40" class="sectionheading bottom-border" colspan="2">Add Debit:</td>
					</tr>
					<tr>
						<td class="verdana12blacknormal"><b>Amount:</td>
						<td class="verdana12blacknormal"><s:textfield name="amount" /></td>
					</tr>
					<tr>
						<td class="verdana12blacknormal"><b>Reason:</td>
						<td class="verdana12blacknormal"><s:textfield name="amount" /></td>
					</tr>
				</table>
			</td>
		</tr>
		<tr><td>&nbsp;</td></tr>
		<tr>
			<td>
				<table width="100%">
					<tr>
						<td>
							<br>
							<s:submit value="Submit" name="Submit" type="image"
								src="../Admin-Images/submit-btn.gif" theme="simple" title="Submit"/>
							<img style="cursor: pointer;"
								onclick="document.getElementById('form').reset();"
								src="../Admin-Images/reset-button.gif" alt="Reset" title="Reset">
						</td>
					</tr>
				</table>
			</td>
		</tr>
		<tr><td>&nbsp;</td></tr>
		<tr>
			<td><a href="#">View Invoices</a></td>
			<td><a href="#">View Account Sheet</a></td>
		</tr>
	</table>
</s:form>